<template>
	<view class="page" :style="themeColor">
		<view class="flex benben-position-layout flex flex-wrap align-center messageDetails_flex_0"
			:style="{height:(64+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between flex-sub messageDetails_fd0_0'>
				<view class='flex flex-wrap align-center  messageDetails_fd0_0_c0'
					@tap.stop="handleJumpDiy" data-type="back" data-url="1">
					<text class='fu-iconfont2  messageDetails_fd0_0_c0_c0'>&#xE794;</text>
				</view>
				<view class='flex flex-wrap align-stretch justify-center'>
					<text class='messageDetails_fd0_0_c1_c0'>详情</text>
				</view>
				<view class='flex flex-wrap align-center messageDetails_fd0_0_c0'>
				</view>
			</view>

		</view>
		<view :style="{height: (64+StatusBarRpx)+'rpx'}"></view>
		<view class="loading_css" v-if="isShow">
			<uv-loading-icon size="24" mode="circle" color="#4087FD" :show="true"></uv-loading-icon>
			<view>加载中</view>
		</view>
		
		<view class="ben_fu-jyf-parser_1" v-else>
			<view class="content">
				<view class="title">犇犇科技在挑战中诞生，迎难不惧，逆风前行，挑战已成为我们的习惯！</view>
				<view class="">
					<uv-parse :content="content"></uv-parse>
				</view>
			</view>
		</view>

	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				"content": "这是富文本",
				"aid": "",
				"isShow": true,
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {
				aid
			} = options
			if (aid !== undefined) this.aid = aid;
			this.getDetails();
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			// 详情  post65444f26155cc
			getDetails() {
				this.$api.post(global.apiUrls.post65444f26155cc, {
					aid: this.aid
				}).then(res => {
					this.isShow = false;
					if (res.data.code == 1) {
						this.content = res.data.data.content;
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
		}
	};
</script>
<style lang="scss" scoped>
	.content {
		background: #fff;
		border-radius: 10rpx;
		padding: 25rpx;
	}
	.title {
		font-size: 20rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: bold;
		color: #333333;
		margin-bottom: 20rpx;
	}
	.date {
		margin-top: 10rpx;
		margin-bottom: 20rpx;
		font-size: 15rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 400;
		color: #999999;
	}
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto !important;
	}

	.messageDetails_flex_0 {
		background: #fff;
		width: 100%;
		height: 64rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.messageDetails_fd0_0_c1_c0 {
		font-size: 25rpx;
		font-weight: 500;
		color: #333333;
		line-height: 64rpx;
	}

	.messageDetails_fd0_0_c0_c0 {
		font-size: 25rpx;
		color: #333;
	}

	.messageDetails_fd0_0_c0 {
		width: 50rpx;
		height: 50rpx;
	}

	.messageDetails_fd0_0 {
		padding: 0rpx 25rpx 0rpx 25rpx;
	}

	.ben_fu-jyf-parser_1 {
		padding-left: 25rpx;
		padding-right: 25rpx;
		padding-top: 16rpx;
		padding-bottom: 16rpx;
	}
</style>